<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
    <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>

    <!-- 加载我们 React 组件。 -->
    <!-- <script src="like_button.js"></script> -->
    <title>react练习</title>
</head>

<body>
    <!-- <div id="like_button_container"></div> -->
    <script>
        console.log('99',)
        const e = React.createElement;
        console.log('99', e)

        e(
            'button',
            { onClick: () => this.setState({ liked: true }) },
            'Like'
        )
    </script> 
</body>

</html>